package com.cskaoyan.service;

import com.cskaoyan.bean.yangzihui.CouponListPo;
import com.cskaoyan.bean.yangzihui.CouponMyListPo;

/**
 * @author yangzihui
 * @Description
 * @Create 2022-06-30 10:55
 * @Version
 */
public interface CouponService {
    CouponListPo list(Integer page, Integer limit, Integer id);

    CouponMyListPo myList(Integer id, Integer status, Integer page, Integer limit);

    Integer receive(Integer id, Integer couponId);

    Integer exchange(Integer id, String code);

    CouponMyListPo selectlist(Integer id, Integer cartId, Integer grouponRulesId);

    void addCouponToNewUser(String username);
}
